.login {
  width: 375px;
  height: 100%;
  position: relative;

  .nut-navbar {
    background-color: transparent;
  }

  .title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;

    .login-title {
      width: 103px;
      height: 105px;
    }

    .title-text-1 {
      width: 126px;
      height: 38px;
      margin-top: 35px;
    }

    .title-text-2 {
      font-size: 18px;
      color: var(--app-gray-text-3);
      font-weight: 600;
      margin-top: 8px;
      letter-spacing: 2px;
    }
  }

  .user-info-section {
    margin: 30px auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    .avatar-button {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin-bottom: 20px;
      padding: 0;
      overflow: hidden;
      background: none;
      border: 1px dashed #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
      
      &::after {
        border: none;
      }
      
      .avatar {
        width: 100%;
        height: 100%;
      }
      
      .avatar-placeholder {
        color: #999;
        font-size: 14px;
      }
    }
    
    .nickname-input {
      width: 80%;
      height: 44px;
      border-radius: 22px;
      padding: 0 20px;
      margin-bottom: 20px;
      border: 1px solid #eee;
      font-size: 14px;
    }
  }

  .footer {
    position: absolute;
    bottom: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    
    .nut-button {
      width: 640rpx;
      height: 96rpx;
      line-height: 96rpx;
      font-size: 32rpx;
      margin-top: 20px;
      border-radius: 6px;

      view {
        height: 96rpx;
        line-height: 96rpx;
      }
    }
    
    .wx-login-button {
      width: 640rpx;
      height: 96rpx;
      background-color: #006241;
      color: #fff;
      font-size: 32rpx;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      
      &::after {
        border: none;
      }
      
      &:active {
        opacity: 0.8;
      }
      
      &[disabled] {
        opacity: 0.6;
        background-color:#006241;
      }
      
      view {
        color: #fff;
        height: 96rpx;
        line-height: 96rpx;
      }
    }
  }

  .clause {
    position: absolute;
    bottom: 32px;
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--nutui-color-primary);

    --nut-icon-width: 14px;

    .nut-checkbox-label {
      color: var(--app-gray-text-1);
    }

    .clause-link {
      color: var(--nutui-color-primary);
    }
  }
  
  .profile-popup {
    text-align: center;
    width: 100%;
    
    .popup-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 20px;
    }
    
    .popup-content {
      font-size: 16px;
      color: #666;
      margin-bottom: 25px;
    }
    
    .avatar-section {
      display: flex;
      justify-content: center;
      margin-bottom: 25px;
      
      .avatar-wrapper {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        padding: 0;
        overflow: hidden;
        background: none;
        border: 1px dashed #ccc;
        
        &::after {
          border: none;
        }
        
        .avatar {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
    }
    
    .nickname-section {
      margin-bottom: 25px;
      
      .nickname-input {
        width: 100%;
        height: 48px;
        border-radius: 24px;
        padding: 0 20px;
        border: 1px solid #eee;
        font-size: 16px;
        text-align: center;
        box-sizing: border-box;
      }
    }
  }
}
